package model.contract;

import java.sql.Timestamp;


/**
 * Contractensure entity. @author MyEclipse Persistence Tools
 */

public class Contractensure  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String ensureid;
     private String ensuretype;
     private String ensurename;
     private String contractloanid;
     private Integer customensureid;
     private String customensuretype;
     private Double ensuremoney;
     private Timestamp start;
     private Timestamp end;
     private Timestamp contractensuredate;
     private Timestamp createtime;
     private Integer clerkid;
     private String state;


    // Constructors

    /** default constructor */
    public Contractensure() {
    }

	/** minimal constructor */
    public Contractensure(String ensureid, String contractloanid, Integer customensureid, Double ensuremoney) {
        this.ensureid = ensureid;
        this.contractloanid = contractloanid;
        this.customensureid = customensureid;
        this.ensuremoney = ensuremoney;
    }
    
    /** full constructor */
    public Contractensure(String ensureid,String ensuretype,String ensurename, String contractloanid, Integer customensureid, String customensuretype, Double ensuremoney, Timestamp start, Timestamp end, Timestamp contractensuredate, Timestamp createtime, Integer clerkid, String state) {
        this.ensureid = ensureid;
        this.ensuretype=ensuretype;
        this.ensurename=ensurename;
        this.contractloanid = contractloanid;
        this.customensureid = customensureid;
        this.customensuretype = customensuretype;
        this.ensuremoney = ensuremoney;
        this.start = start;
        this.end = end;
        this.contractensuredate = contractensuredate;
        this.createtime = createtime;
        this.clerkid = clerkid;
        this.state = state;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getEnsureid() {
        return this.ensureid;
    }
    
    public void setEnsureid(String ensureid) {
        this.ensureid = ensureid;
    }

    public String getContractloanid() {
        return this.contractloanid;
    }
    
    public void setContractloanid(String contractloanid) {
        this.contractloanid = contractloanid;
    }

    public Integer getCustomensureid() {
        return this.customensureid;
    }
    
    public void setCustomensureid(Integer customensureid) {
        this.customensureid = customensureid;
    }

    public String getCustomensuretype() {
        return this.customensuretype;
    }
    
    public void setCustomensuretype(String customensuretype) {
        this.customensuretype = customensuretype;
    }

    public Double getEnsuremoney() {
        return this.ensuremoney;
    }
    
    public void setEnsuremoney(Double ensuremoney) {
        this.ensuremoney = ensuremoney;
    }

    public Timestamp getStart() {
        return this.start;
    }
    
    public void setStart(Timestamp start) {
        this.start = start;
    }

    public Timestamp getEnd() {
        return this.end;
    }
    
    public void setEnd(Timestamp end) {
        this.end = end;
    }

    public Timestamp getContractensuredate() {
        return this.contractensuredate;
    }
    
    public void setContractensuredate(Timestamp contractensuredate) {
        this.contractensuredate = contractensuredate;
    }

    public Timestamp getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public Integer getClerkid() {
        return this.clerkid;
    }
    
    public void setClerkid(Integer clerkid) {
        this.clerkid = clerkid;
    }

    public String getState() {
        return this.state;
    }
    
    public void setState(String state) {
        this.state = state;
    }

	public String getEnsuretype() {
		return ensuretype;
	}

	public void setEnsuretype(String ensuretype) {
		this.ensuretype = ensuretype;
	}

	public String getEnsurename() {
		return ensurename;
	}

	public void setEnsurename(String ensurename) {
		this.ensurename = ensurename;
	}
   








}